package App.Model.Xinge;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by xw on 2019/4/28.
 */

@Component
@PropertySource("classpath:bootstrap.yml")
@ConfigurationProperties(prefix = "xinge")
public class XingeConfig {

    private  String iosAppid;
    private  String iosSecretkey;
    private  String iosAccessid;
    private  String iosAccessKey;
    private  String  iosenviroment;
    private  String androidAppid;
    private  String androidSecretkey;
    private  String androidAccessid;
    private  String androidAccessKey;
    private  String androidenviroment;
    private  String rooturl;
    private  String pushurl;
    private  boolean pushmessage;

    public String getIosAppid() {
        return iosAppid;
    }

    public void setIosAppid(String iosAppid) {
        this.iosAppid = iosAppid;
    }

    public String getIosSecretkey() {
        return iosSecretkey;
    }

    public void setIosSecretkey(String iosSecretkey) {
        this.iosSecretkey = iosSecretkey;
    }

    public String getIosAccessid() {
        return iosAccessid;
    }

    public void setIosAccessid(String iosAccessid) {
        this.iosAccessid = iosAccessid;
    }

    public String getIosAccessKey() {
        return iosAccessKey;
    }

    public void setIosAccessKey(String iosAccessKey) {
        this.iosAccessKey = iosAccessKey;
    }

    public String getAndroidAppid() {
        return androidAppid;
    }

    public void setAndroidAppid(String androidAppid) {
        this.androidAppid = androidAppid;
    }

    public String getAndroidSecretkey() {
        return androidSecretkey;
    }

    public void setAndroidSecretkey(String androidSecretkey) {
        this.androidSecretkey = androidSecretkey;
    }

    public String getAndroidAccessid() {
        return androidAccessid;
    }

    public void setAndroidAccessid(String androidAccessid) {
        this.androidAccessid = androidAccessid;
    }

    public String getAndroidAccessKey() {
        return androidAccessKey;
    }

    public void setAndroidAccessKey(String androidAccessKey) {
        this.androidAccessKey = androidAccessKey;
    }

    public String getAndroidenviroment() {
        return androidenviroment;
    }

    public void setAndroidenviroment(String androidenviroment) {
        this.androidenviroment = androidenviroment;
    }

    public String getRooturl() {
        return rooturl;
    }

    public void setRooturl(String rooturl) {
        this.rooturl = rooturl;
    }

    public String getPushurl() {
        return pushurl;
    }

    public void setPushurl(String pushurl) {
        this.pushurl = pushurl;
    }

    public String getIosenviroment() {
        return iosenviroment;
    }

    public void setIosenviroment(String iosenviroment) {
        this.iosenviroment = iosenviroment;
    }

    public boolean isPushmessage() {
        return pushmessage;
    }

    public void setPushmessage(boolean pushmessage) {
        this.pushmessage = pushmessage;
    }
}
